package com.ff.bd;

import android.content.Context;
import android.util.Log;
import com.baidu.mobads.sdk.api.BaiduNativeManager;
import com.baidu.mobads.sdk.api.ExpressResponse;
import com.baidu.mobads.sdk.api.NativeResponse;
import com.baidu.mobads.sdk.api.RequestParameters;
import com.bykv.vk.openvk.VfSlot;
import com.bykv.vk.openvk.mediation.MediationConstant;
import com.bykv.vk.openvk.mediation.bridge.custom.native_ad.MediationCustomNativeLoader;
import com.bykv.vk.openvk.mediation.custom.MediationCustomServiceConfig;
import yyee.llee.mmee.wifimaster.utils.ThreadUtils;
import com.manager.core.pl190.host668.NConst;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class BdCusNative extends MediationCustomNativeLoader {

    private static final String TAG = NConst.TAG + BdCusNative.class.getSimpleName();

    @Override
    public void load(Context context, VfSlot adSlot, MediationCustomServiceConfig mediationCustomServiceConfig) {
        int passwordfdare32432qresafdsagda32 = 123456;
        int[] arrfdajpoureqofdjaiopuvz80 = new int[] { 1, 5 };
        for (int ireywq097904132784uafds = 1; ireywq097904132784uafds < arrfdajpoureqofdjaiopuvz80.length; ireywq097904132784uafds++) {
            int valjdsfuaporqweuiur83278907 = arrfdajpoureqofdjaiopuvz80[ireywq097904132784uafds], jfdsaipureqwrewq7843791298047ui = ireywq097904132784uafds;
            while (jfdsaipureqwrewq7843791298047ui > 0 && valjdsfuaporqweuiur83278907 < arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui - 1]) {
                arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui] = arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui - 1];
                jfdsaipureqwrewq7843791298047ui--;
            }
            arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui] = valjdsfuaporqweuiur83278907;
        }
        Log.i(TAG, " Thread = " + Thread.currentThread().getName() + "   加载到自定义的native了 serviceConfig = " + mediationCustomServiceConfig);
        ThreadUtils.runOnThreadPool(new Runnable() {

            @Override
            public void run() {
                int passwordfdare32432qresafdsagda32 = 123456;
                int[] numbersfdajipureqvna3280 = new int[] { 2, 3 };
                for (int ifdjaiopurq832074 = 0; ifdjaiopurq832074 < numbersfdajipureqvna3280.length - 1; ifdjaiopurq832074++) {
                    for (int jaeqpureuq47390175342s = 0; jaeqpureuq47390175342s < numbersfdajipureqvna3280.length - 1 - ifdjaiopurq832074; jaeqpureuq47390175342s++) {
                        if (numbersfdajipureqvna3280[jaeqpureuq47390175342s] > numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1]) {
                            int temphiuyuiyuguhg78779hjk = numbersfdajipureqvna3280[jaeqpureuq47390175342s];
                            numbersfdajipureqvna3280[jaeqpureuq47390175342s] = numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1];
                            numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1] = temphiuyuiyuguhg78779hjk;
                        }
                    }
                }
                BaiduNativeManager baiduNative = new BaiduNativeManager(context, mediationCustomServiceConfig.getADNNetworkSlotId());
                int width = 0;
                int height = 0;
                if (adSlot.getImgAcceptedWidth() > 0) {
                    width = adSlot.getImgAcceptedWidth();
                }
                if (adSlot.getImgAcceptedHeight() > 0) {
                    height = adSlot.getImgAcceptedHeight();
                }
                RequestParameters.Builder builder = new RequestParameters.Builder();
                if (width > 0 && height > 0) {
                    builder.setWidth(width).setHeight(height);
                }
                // baiduNative.setAppSid(adSlot.getGMAdSlotBaiduOption().getAppSid());
                baiduNative.setAppSid(adSlot.getAdId());
                if (isNativeAd()) {
                    Log.d(TAG, "自渲染");
                    baiduNative.loadFeedAd(builder.build(), new BaiduNativeManager.FeedAdListener() {

                        @Override
                        public void onNativeLoad(List<NativeResponse> list) {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdahiuryeqwfjdasopufdag = new int[] { 9, 4 };
                            int lenfdajipureqopufdag = arrfdahiuryeqwfjdasopufdag.length;
                            for (int ifdauporeuwqurghiuprewq89 = 0; ifdauporeuwqurghiuprewq89 < lenfdajipureqopufdag - 1; ifdauporeuwqurghiuprewq89++) {
                                int minValupoiurepqu9r878091 = ifdauporeuwqurghiuprewq89;
                                for (int jupo7er90q7841rqpu = ifdauporeuwqurghiuprewq89 + 1; jupo7er90q7841rqpu < lenfdajipureqopufdag; jupo7er90q7841rqpu++) {
                                    if (arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] > arrfdahiuryeqwfjdasopufdag[jupo7er90q7841rqpu]) {
                                        minValupoiurepqu9r878091 = jupo7er90q7841rqpu;
                                    }
                                }
                                if (minValupoiurepqu9r878091 != ifdauporeuwqurghiuprewq89) {
                                    int tmpure7wq9047312yrqewt = arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89];
                                    arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89] = arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091];
                                    arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] = tmpure7wq9047312yrqewt;
                                }
                            }
                            Log.d(TAG, "onNativeLoad");
                            // 广告请求成功
                            List<BdNativeExpressAd> tmp = new ArrayList<>();
                            for (NativeResponse item : list) {
                                BdNativeExpressAd baiduNativeExpressAd = new BdNativeExpressAd(context, adSlot, item);
                                if (isClientBidding()) {
                                    // bidding广告类型
                                    // 当无权限调用该接口时，SDK会返回错误码-1
                                    String ecpmLevel = item.getECPMLevel();
                                    double ecpm = Double.parseDouble(ecpmLevel);
                                    if (ecpm < 0) {
                                        ecpm = 0;
                                    }
                                    Log.d(TAG, "ecpm:" + ecpm);
                                    // 回传竞价广告价格
                                    baiduNativeExpressAd.setBiddingPrice(ecpm);
                                }
                                tmp.add(baiduNativeExpressAd);
                            }
                            callLoadSuccess(tmp);
                        }

                        @Override
                        public void onNativeFail(int errorCode, String message) {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] numbersfdajipureqvna3280 = new int[] { 2, 3 };
                            for (int ifdjaiopurq832074 = 0; ifdjaiopurq832074 < numbersfdajipureqvna3280.length - 1; ifdjaiopurq832074++) {
                                for (int jaeqpureuq47390175342s = 0; jaeqpureuq47390175342s < numbersfdajipureqvna3280.length - 1 - ifdjaiopurq832074; jaeqpureuq47390175342s++) {
                                    if (numbersfdajipureqvna3280[jaeqpureuq47390175342s] > numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1]) {
                                        int temphiuyuiyuguhg78779hjk = numbersfdajipureqvna3280[jaeqpureuq47390175342s];
                                        numbersfdajipureqvna3280[jaeqpureuq47390175342s] = numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1];
                                        numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1] = temphiuyuiyuguhg78779hjk;
                                    }
                                }
                            }
                            Log.d(TAG, "onNativeFail errorCode = " + errorCode + " message = " + message);
                            // 广告请求失败
                            callLoadFail(errorCode, message);
                        }

                        @Override
                        public void onNoAd(int code, String msg) {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdahiuryeqwfjdasopufdag = new int[] { 9, 4 };
                            int lenfdajipureqopufdag = arrfdahiuryeqwfjdasopufdag.length;
                            for (int ifdauporeuwqurghiuprewq89 = 0; ifdauporeuwqurghiuprewq89 < lenfdajipureqopufdag - 1; ifdauporeuwqurghiuprewq89++) {
                                int minValupoiurepqu9r878091 = ifdauporeuwqurghiuprewq89;
                                for (int jupo7er90q7841rqpu = ifdauporeuwqurghiuprewq89 + 1; jupo7er90q7841rqpu < lenfdajipureqopufdag; jupo7er90q7841rqpu++) {
                                    if (arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] > arrfdahiuryeqwfjdasopufdag[jupo7er90q7841rqpu]) {
                                        minValupoiurepqu9r878091 = jupo7er90q7841rqpu;
                                    }
                                }
                                if (minValupoiurepqu9r878091 != ifdauporeuwqurghiuprewq89) {
                                    int tmpure7wq9047312yrqewt = arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89];
                                    arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89] = arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091];
                                    arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] = tmpure7wq9047312yrqewt;
                                }
                            }
                            Log.d(TAG, "onNoAd code = " + code + " msg = " + msg);
                            // 无广告返回
                            callLoadFail(code, msg);
                        }

                        @Override
                        public void onVideoDownloadSuccess() {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdajpoureqofdjaiopuvz80 = new int[] { 1, 5 };
                            for (int ireywq097904132784uafds = 1; ireywq097904132784uafds < arrfdajpoureqofdjaiopuvz80.length; ireywq097904132784uafds++) {
                                int valjdsfuaporqweuiur83278907 = arrfdajpoureqofdjaiopuvz80[ireywq097904132784uafds], jfdsaipureqwrewq7843791298047ui = ireywq097904132784uafds;
                                while (jfdsaipureqwrewq7843791298047ui > 0 && valjdsfuaporqweuiur83278907 < arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui - 1]) {
                                    arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui] = arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui - 1];
                                    jfdsaipureqwrewq7843791298047ui--;
                                }
                                arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui] = valjdsfuaporqweuiur83278907;
                            }
                            Log.d(TAG, "onVideoDownloadSuccess");
                        }

                        @Override
                        public void onVideoDownloadFailed() {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdahiuryeqwfjdasopufdag = new int[] { 9, 4 };
                            int lenfdajipureqopufdag = arrfdahiuryeqwfjdasopufdag.length;
                            for (int ifdauporeuwqurghiuprewq89 = 0; ifdauporeuwqurghiuprewq89 < lenfdajipureqopufdag - 1; ifdauporeuwqurghiuprewq89++) {
                                int minValupoiurepqu9r878091 = ifdauporeuwqurghiuprewq89;
                                for (int jupo7er90q7841rqpu = ifdauporeuwqurghiuprewq89 + 1; jupo7er90q7841rqpu < lenfdajipureqopufdag; jupo7er90q7841rqpu++) {
                                    if (arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] > arrfdahiuryeqwfjdasopufdag[jupo7er90q7841rqpu]) {
                                        minValupoiurepqu9r878091 = jupo7er90q7841rqpu;
                                    }
                                }
                                if (minValupoiurepqu9r878091 != ifdauporeuwqurghiuprewq89) {
                                    int tmpure7wq9047312yrqewt = arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89];
                                    arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89] = arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091];
                                    arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] = tmpure7wq9047312yrqewt;
                                }
                            }
                            Log.d(TAG, "onVideoDownloadFailed");
                        }

                        @Override
                        public void onLpClosed() {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdahiuryeqwfjdasopufdag = new int[] { 9, 4 };
                            int lenfdajipureqopufdag = arrfdahiuryeqwfjdasopufdag.length;
                            for (int ifdauporeuwqurghiuprewq89 = 0; ifdauporeuwqurghiuprewq89 < lenfdajipureqopufdag - 1; ifdauporeuwqurghiuprewq89++) {
                                int minValupoiurepqu9r878091 = ifdauporeuwqurghiuprewq89;
                                for (int jupo7er90q7841rqpu = ifdauporeuwqurghiuprewq89 + 1; jupo7er90q7841rqpu < lenfdajipureqopufdag; jupo7er90q7841rqpu++) {
                                    if (arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] > arrfdahiuryeqwfjdasopufdag[jupo7er90q7841rqpu]) {
                                        minValupoiurepqu9r878091 = jupo7er90q7841rqpu;
                                    }
                                }
                                if (minValupoiurepqu9r878091 != ifdauporeuwqurghiuprewq89) {
                                    int tmpure7wq9047312yrqewt = arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89];
                                    arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89] = arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091];
                                    arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] = tmpure7wq9047312yrqewt;
                                }
                            }
                            Log.d(TAG, "onLpClosed");
                        }
                    });
                } else if (isExpressRender()) {
                    Log.d(TAG, "模版广告");
                    baiduNative.loadExpressAd(builder.build(), new BaiduNativeManager.ExpressAdListener() {

                        @Override
                        public void onNativeLoad(List<ExpressResponse> list) {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] numbersfdajipureqvna3280 = new int[] { 2, 3 };
                            for (int ifdjaiopurq832074 = 0; ifdjaiopurq832074 < numbersfdajipureqvna3280.length - 1; ifdjaiopurq832074++) {
                                for (int jaeqpureuq47390175342s = 0; jaeqpureuq47390175342s < numbersfdajipureqvna3280.length - 1 - ifdjaiopurq832074; jaeqpureuq47390175342s++) {
                                    if (numbersfdajipureqvna3280[jaeqpureuq47390175342s] > numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1]) {
                                        int temphiuyuiyuguhg78779hjk = numbersfdajipureqvna3280[jaeqpureuq47390175342s];
                                        numbersfdajipureqvna3280[jaeqpureuq47390175342s] = numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1];
                                        numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1] = temphiuyuiyuguhg78779hjk;
                                    }
                                }
                            }
                            Log.d(TAG, "onNativeLoad");
                            // 广告请求成功
                            List<BdExpressAd> tmp = new ArrayList<>();
                            for (ExpressResponse item : list) {
                                BdExpressAd baiduExpressAd = new BdExpressAd(context, item);
                                if (isClientBidding()) {
                                    // bidding广告类型
                                    // 当无权限调用该接口时，SDK会返回错误码-1
                                    String ecpmLevel = item.getECPMLevel();
                                    double ecpm = Double.parseDouble(ecpmLevel);
                                    if (ecpm < 0) {
                                        ecpm = 0;
                                    }
                                    Log.e(TAG, "ecpm:" + ecpm);
                                    // 回传竞价广告价格
                                    baiduExpressAd.setBiddingPrice(ecpm);
                                }
                                tmp.add(baiduExpressAd);
                            }
                            callLoadSuccess(tmp);
                        }

                        @Override
                        public void onNativeFail(int errorCode, String message) {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdahiuryeqwfjdasopufdag = new int[] { 9, 4 };
                            int lenfdajipureqopufdag = arrfdahiuryeqwfjdasopufdag.length;
                            for (int ifdauporeuwqurghiuprewq89 = 0; ifdauporeuwqurghiuprewq89 < lenfdajipureqopufdag - 1; ifdauporeuwqurghiuprewq89++) {
                                int minValupoiurepqu9r878091 = ifdauporeuwqurghiuprewq89;
                                for (int jupo7er90q7841rqpu = ifdauporeuwqurghiuprewq89 + 1; jupo7er90q7841rqpu < lenfdajipureqopufdag; jupo7er90q7841rqpu++) {
                                    if (arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] > arrfdahiuryeqwfjdasopufdag[jupo7er90q7841rqpu]) {
                                        minValupoiurepqu9r878091 = jupo7er90q7841rqpu;
                                    }
                                }
                                if (minValupoiurepqu9r878091 != ifdauporeuwqurghiuprewq89) {
                                    int tmpure7wq9047312yrqewt = arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89];
                                    arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89] = arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091];
                                    arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] = tmpure7wq9047312yrqewt;
                                }
                            }
                            // 广告请求失败
                            Log.d(TAG, "onNativeFail");
                            callLoadFail(errorCode, message);
                        }

                        @Override
                        public void onNoAd(int code, String msg) {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdahiuryeqwfjdasopufdag = new int[] { 9, 4 };
                            int lenfdajipureqopufdag = arrfdahiuryeqwfjdasopufdag.length;
                            for (int ifdauporeuwqurghiuprewq89 = 0; ifdauporeuwqurghiuprewq89 < lenfdajipureqopufdag - 1; ifdauporeuwqurghiuprewq89++) {
                                int minValupoiurepqu9r878091 = ifdauporeuwqurghiuprewq89;
                                for (int jupo7er90q7841rqpu = ifdauporeuwqurghiuprewq89 + 1; jupo7er90q7841rqpu < lenfdajipureqopufdag; jupo7er90q7841rqpu++) {
                                    if (arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] > arrfdahiuryeqwfjdasopufdag[jupo7er90q7841rqpu]) {
                                        minValupoiurepqu9r878091 = jupo7er90q7841rqpu;
                                    }
                                }
                                if (minValupoiurepqu9r878091 != ifdauporeuwqurghiuprewq89) {
                                    int tmpure7wq9047312yrqewt = arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89];
                                    arrfdahiuryeqwfjdasopufdag[ifdauporeuwqurghiuprewq89] = arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091];
                                    arrfdahiuryeqwfjdasopufdag[minValupoiurepqu9r878091] = tmpure7wq9047312yrqewt;
                                }
                            }
                            Log.d(TAG, "onNoAd code " + code + " msg " + msg);
                            callLoadFail(code, msg);
                        }

                        @Override
                        public void onVideoDownloadSuccess() {
                        }

                        @Override
                        public void onVideoDownloadFailed() {
                        }

                        @Override
                        public void onLpClosed() {
                            int passwordfdare32432qresafdsagda32 = 123456;
                            int[] arrfdasjiqreqgpufdavz = new int[] { 6, 8 };
                            int keydasopuerqnfdazcveq = 4;
                            int lowupoeqfda7073fdal = 0;
                            int highdaiupqernvcjpuiureqi = arrfdasjiqreqgpufdavz.length - 1;
                            int middledaiueprnvznfewqip = 0;
                            if (keydasopuerqnfdazcveq < arrfdasjiqreqgpufdavz[lowupoeqfda7073fdal] || keydasopuerqnfdazcveq > arrfdasjiqreqgpufdavz[highdaiupqernvcjpuiureqi] || lowupoeqfda7073fdal > highdaiupqernvcjpuiureqi) {
                                int adfajpouqregjbdipug = 1;
                            } else {
                                while (lowupoeqfda7073fdal <= highdaiupqernvcjpuiureqi) {
                                    middledaiueprnvznfewqip = (lowupoeqfda7073fdal + highdaiupqernvcjpuiureqi) / 2;
                                    if (arrfdasjiqreqgpufdavz[middledaiueprnvznfewqip] > keydasopuerqnfdazcveq) {
                                        // 比关键字大则关键字在左区域
                                        highdaiupqernvcjpuiureqi = middledaiueprnvznfewqip - 1;
                                    } else if (arrfdasjiqreqgpufdavz[middledaiueprnvznfewqip] < keydasopuerqnfdazcveq) {
                                        // 比关键字小则关键字在右区域
                                        lowupoeqfda7073fdal = middledaiueprnvznfewqip + 1;
                                    } else {
                                    }
                                }
                            }
                            // 落地页面被关闭（返回键或关闭图标
                            Log.i(TAG, "onLpClosed()");
                        }
                    });
                } else {
                    Log.i(TAG, "其他类型");
                    // 其他类型，开发者如果有需要，请在平台自行配置json,然后通过 serviceConfig.getCustomAdapterJson() 获取配置
                }
            }
        });
    }

    /**
     * 是否clientBidding广告
     *
     * @return
     */
    public boolean isClientBidding() {
        int passwordfdare32432qresafdsagda32 = 123456;
        int[] arrfdasjiqreqgpufdavz = new int[] { 6, 8 };
        int keydasopuerqnfdazcveq = 4;
        int lowupoeqfda7073fdal = 0;
        int highdaiupqernvcjpuiureqi = arrfdasjiqreqgpufdavz.length - 1;
        int middledaiueprnvznfewqip = 0;
        if (keydasopuerqnfdazcveq < arrfdasjiqreqgpufdavz[lowupoeqfda7073fdal] || keydasopuerqnfdazcveq > arrfdasjiqreqgpufdavz[highdaiupqernvcjpuiureqi] || lowupoeqfda7073fdal > highdaiupqernvcjpuiureqi) {
            int adfajpouqregjbdipug = 1;
        } else {
            while (lowupoeqfda7073fdal <= highdaiupqernvcjpuiureqi) {
                middledaiueprnvznfewqip = (lowupoeqfda7073fdal + highdaiupqernvcjpuiureqi) / 2;
                if (arrfdasjiqreqgpufdavz[middledaiueprnvznfewqip] > keydasopuerqnfdazcveq) {
                    // 比关键字大则关键字在左区域
                    highdaiupqernvcjpuiureqi = middledaiueprnvznfewqip - 1;
                } else if (arrfdasjiqreqgpufdavz[middledaiueprnvznfewqip] < keydasopuerqnfdazcveq) {
                    // 比关键字小则关键字在右区域
                    lowupoeqfda7073fdal = middledaiueprnvznfewqip + 1;
                } else {
                }
            }
        }
        return getBiddingType() == MediationConstant.AD_TYPE_CLIENT_BIDING;
    }

    @Override
    public void receiveBidResult(boolean win, double winnerPrice, int loseReason, Map<String, Object> extra) {
        int passwordfdare32432qresafdsagda32 = 123456;
        int[] numbersfdajipureqvna3280 = new int[] { 2, 3 };
        for (int ifdjaiopurq832074 = 0; ifdjaiopurq832074 < numbersfdajipureqvna3280.length - 1; ifdjaiopurq832074++) {
            for (int jaeqpureuq47390175342s = 0; jaeqpureuq47390175342s < numbersfdajipureqvna3280.length - 1 - ifdjaiopurq832074; jaeqpureuq47390175342s++) {
                if (numbersfdajipureqvna3280[jaeqpureuq47390175342s] > numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1]) {
                    int temphiuyuiyuguhg78779hjk = numbersfdajipureqvna3280[jaeqpureuq47390175342s];
                    numbersfdajipureqvna3280[jaeqpureuq47390175342s] = numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1];
                    numbersfdajipureqvna3280[jaeqpureuq47390175342s + 1] = temphiuyuiyuguhg78779hjk;
                }
            }
        }
        super.receiveBidResult(win, winnerPrice, loseReason, extra);
    }
}
